.home-page {
    @include default-center;

    .nav {
        display: flex;
        margin-top: -35px;
        margin-left: 50px;

        li {
            font-weight: 700;
            font-size: 16px;
            margin: 0 20px;
            cursor: pointer;
            position: relative;

            &:first-child {
                margin-left: 0;
            }

            a {
                color: #222;
                text-decoration: none;

                &:hover {
                    color: #f04d4e;
                }

                &.takeout:hover {
                    color: #fbc700;
                }

                &.apartment:hover {
                    color: #FDC411;
                }

                &.business:hover {
                    color: #31BBAC;
                }
            }
        }
    }

    .menu-box {
        height: 466px;
        border: 1px solid #ccc;
        margin-top: -40px;
        background-color: #fff;
        position: relative;
        box-sizing: border-box;

        .menu-main {
            height: 100%;

            dt {
                padding: 20px 14px;

                h2 {
                    font-weight: 600;
                    padding: 4px;
                }

            }

            dd {
                padding-top: 12px;
                position: relative;
                padding: 12px 0;
                font-size: 12px;

                .el-icon-arrow-right {
                    position: absolute;
                    right: 12px;
                }

                &:hover {
                    background: rgba(255, 150, 0, 0.08);
                }

                .food {
                    &:before {
                        content: "\e622";
                        color: #FF8200;
                    }
                }

                .takeout {
                    &:before {
                        content: "\e630";
                        color: #FFB500;
                    }
                }

                .hotel {
                    &:before {
                        content: "\e62a";
                        color: #9B5E3E;
                    }
                }

                .homestay {
                    &:before {
                        content: "\e631";
                    }
                }

                .movie {
                    &:before {
                        content: "\e62c";
                        position: relative;
                        left: -2px;
                    }
                }

                .airport {
                    &:before {
                        content: "\e632";
                    }
                }

                .ktv {
                    &:before {
                        content: "\e627";
                    }
                }

                .life {
                    &:before {
                        content: "\e633";
                    }
                }

                .hair {
                    &:before {
                        content: "\e626";
                        transform: scale(0.7);
                    }
                }

                .marry {
                    &:before {
                        content: "\e629";
                    }
                }

                .offspring {
                    &:before {
                        content: "\e623";
                    }
                }

                .sport {
                    &:before {
                        content: "\e62b";
                    }
                }

                .furniture {
                    &:before {
                        content: "\e625";
                    }
                }

                .study {
                    &:before {
                        content: "\e624";
                    }
                }

                .health {
                    &:before {
                        content: "\e628";
                    }
                }

                .bar {
                    &:before {
                        content: "\e621";
                    }
                }
            }


            dd>i {
                font-family: 'meituan';
                font-size: 14px;
                font-style: normal;
                margin-right: 11px;
                margin-left: 10px;

                &:before {
                    width: 14px;
                    height: 14px;
                    display: inline-block;
                }
            }
        }

        .sub-menu {
            font-size: 12px;
            position: absolute;
            z-index: 200;
            top: 42px;
            left: 247px;
            width: 400px;
            height: 416px;
            background-color: #fff;
            padding: 0 20px;

            dl {
                dt {
                    margin-top: 16px;
                    margin-bottom: 15px;
                    padding: 0;
                    padding-bottom: 10px;
                    display: flex;
                    justify-content: space-between;
                    border-bottom: 1px solid #ccc;

                    h4 {
                        font-size: 14px;
                    }

                    span {
                        color: #666;
                    }
                }

                dd {
                    display: inline;

                    margin: {
                        top: 5px;
                        left: 0;
                        right: 5px;
                        bottom: 5px;
                    }

                    ;
                    color: #666;
                }
            }
        }

    }

    .menu-right {

        .slider {
            margin: 10px;

            .el-carousel {
                overflow: hidden;
            }

            img {
                height: 240px;
            }
        }


        .life {
            width: 150px;
            height: 240px;
            background-image: url(http://p0.meituan.net/codeman/e473bb428f070321269b23370ff02ba956209.jpg);
            background-size: 100%;

            margin-top: 10px;
        }

        .user {
            height: 240px;
            background-color: #fff;
            border: 1px solid #e5e5e5;
            margin-left: 5px;
            margin-top: 10px;
            text-align: center;
            padding-top: 15px;
            box-sizing: border-box;

            img {
                width: 57px;
                height: 57px;
                border-radius: 50%;
                border: 5px solid #ccc;
            }

            .user-name {
                width: 90px;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
                margin: 0 auto;
                line-height: 26px;
            }
            .logins {
                width: 100%;
                height: 108px;
                margin-top: 10px;
                background-image: url(../../assets/img/logins.jpg);
            }
            button {
                width: 118px;
                margin: 10px auto;
            }
        }
    }

    .menu-down {

        .hotel,
        .music {
            height: 165px;
            background: url(http://p1.meituan.net/codeman/8cce56c467a17e04f3094d1e455462a0132772.png);
            background-size: 270px;
            background-position: 50%;
            background-repeat: no-repeat;
            margin-right: 10px;
            margin-left: 10px;
        }

        .music {
            background: url(//p1.meituan.net/codeman/16442c19da1f1c4544f794e29d99c92051716.jpg);
            margin-left: 0;
        }

        .coop {
            background: url(//p1.meituan.net/codeman/5b21cddb4bb1cbc3a9c3bce0f726c75940469.jpg);
            width: 150px;
            height: 165px;
            background-size: 150px;
        }

        .down-app {
            background: #fff;
            height: 165px;
            text-align: center;

            img {
                width: 95px;
                height: 95px;
                margin-top: 10px;
            }

            p {
                font-size: 16px;
                color: #222;
                font-weight: 500;
            }

            .last-p {
                font-size: 12px;
                font-weight: 500;
                margin-top: 2px;

                span {
                    color: #EC5330;
                    margin-right: 5px;
                }

                em {
                    color: #3f3f3f;
                    font-style: normal;
                }
            }
        }
    }

}